﻿<%@ Page Language="C#" Culture="th-TH" uiCulture="th" AutoEventWireup="true" CodeBehind="MP_FieldPositions.aspx.cs" Inherits="KPIS.GERP.GHRMS.APP.App_UI.Forms.MP_FieldPositions" %>
             
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
    <title></title>
    <link href="../../Styles/CssClass.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form2" runat="server" 
    style="font-family: 'ms sans Serif'; font-size: x-small;">
    
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">        
            <script type="text/javascript">
                function RowDblClick(sender, eventArgs) {
                    sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
                }
                function onTextChange(sender) {
                    if (sender.get_value() == "") {
                        sender.set_text("");
                    }
                }
                function onTabSelecting(sender, args) {
                    if (args.get_tab().get_pageViewID()) {
                        args.get_tab().set_postBack(false);
                    }                   
                    
                }

            </script>
        
    </telerik:RadCodeBlock>
    
    <telerik:RadScriptManager ID="RadScriptManager2" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="cmdSearch">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cmdExpand">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1"
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cmdCollapse">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadTreeView1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblUpperText" />
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel3" runat="server" 
        Height="100%" Width="75px" Transparency="50">
        <table style="height: 100%; width: 100%" border="0">
            <tr>
                <td width="100%" align="center" valign="middle">
                    <img alt="Loading..." 
                        src="../Images/Buttons/loading.gif" 
                        style="border: 0px;" />
                </td>
            </tr>
        </table>
    </telerik:RadAjaxLoadingPanel>      

             <telerik:RadTabStrip 
                    ID="RadTabStrip1" 
                    runat="server" 
                    AutoPostBack="True" 
                    CausesValidation="False" 
                    CssClass="tapstrip"  
                    SelectedIndex="0" 
                    Width="100%" 
                    Skin="Office2007"
                    MultiPageID="RadMultiPage1" 
                    OnTabClick="RadTabStrip1_TabClick"
                    OnClientTabSelecting="onTabSelecting" 
                    Orientation="HorizontalTop"
                    ShowBaseLine ='true'>
                    <Tabs>
                        <telerik:RadTab SelectedCssClass="selectedtap" TabIndex="0" Text="ข้อมูลตำแหน่ง" 
                            Value="MP_FieldPositions" Width="150px">
                        </telerik:RadTab>
                        <telerik:RadTab SelectedCssClass="selectedtap" TabIndex="1" Text="หน้าที่ความรับผิดชอบ" 
                            Value="MP_FieldPositionDuties" Width="150px">
                        </telerik:RadTab>
                        <telerik:RadTab SelectedCssClass="selectedtap" TabIndex="2" Text="คุณสมบัติเฉพาะตำแหน่ง" 
                            Value="MP_FieldSpecifications" Width="180px">
                        </telerik:RadTab>
                    </Tabs>
             </telerik:RadTabStrip>            
             <telerik:RadMultiPage 
                    ID="RadMultiPage1" 
                    runat="server" 
                    SelectedIndex="0" 
                    OnPageViewCreated="RadMultiPage1_PageViewCreated" >
             </telerik:RadMultiPage>
                <asp:Label ID="lblCmdPosSeq" runat="server" Visible="False"></asp:Label>
                <br />            
                                
    </form>
</body>
</html>

